import { Button } from "../_client/Button";

export const Container = ({children}:{
  children?: React.ReactNode;
}) => {

  console.log('*** render Container ***')

  return (
    <div className="border-2 border-black p-2">
      <h1 className="text-4xl mb-1">Server Component Container</h1>
      <div>
        { !!children ? children :
          <Button>
            内置嵌入
          </Button>
        }
      </div>
    </div>
  )
}
